Skip to content

chore: add semgrep to pre-commits - #225

Open
StefanFl wants to merge 3 commits into
mainfrom
chore/semgrep-pre-commit
Open

chore: add semgrep to pre-commits#225
StefanFl wants to merge 3 commits into
mainfrom
chore/semgrep-pre-commit

Conversation

@StefanFl

Copy link
Copy Markdown
Member

This PR add a pre-commit hook for the SAST tool Semgrep. It fails if a rule violation is detected, but it uses a curated ruleset that should not produce too many false positives.

If there is a false positive, it can be ignored with a # nosemgrep comment at the end of the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant